Wrapping models into modules