remove declarative class