wrap models to be able to user resource models