refactored ComponentClass to ComponentClassStub