added class extension parsing