Remove subdirectories for classes