Depreciated the enum ComponentType and removed related functions