Framework for models