mapper base classes