Move object model to use instancetype. Add all models accessor to object provider.