Added base class for proto numeric classes and refactored some of the key methods.