Added support for Attributes on base classes