Model encapsulation