Adding support for ModelMetadataAttribute in core.