Add set method to Model