Fixed auto-complete for classes with more than two levels.