Abstracting some stuff out to a common "models" area.