Using more inheritance in saving model object