add support for scopable and localizable attributes