Added base classes to stop compile errors on Xcode 4.6