add support for model decorators