Moving Base class definition to the proper location.