added support for class packages; required for esdoc serialization as per #129