Implemented type mapping parsing hack.