Adding inherits of object base to some models