Extract ClassMap so that mmvc can use it