Fixed map_types, integrated it for process transforms. Will rethink how it's used later