Polymorphism class setup