Add method "with" to model