Document base class.