polymorphic encapsulation.