Adding support for inheritance in page objects.