Simplifies model code