Fixed code completion bug.