Added class with inheritance with different types (nothing special here)