add decorators for models