Rudimentary class inheritance.