Polymorphism and more on classes