When you need to have some assertions about which keys are required in a hash, you can just inherit from the class.