Added base classes for protoconfig and protomessage.