An example class, with inheritance