Reusable mapped super classes code