Add essential class definitions.