Modified polymorphism example.