Use ORM hook on a class-by-class basis