Example code for a simple base class and more complex pages