More on class and inheritance