Some class definitions.