give a way of overriding model in broker