Validates format of component's classes