Bring back ORM specific classes to doorkeeper