Changes name of types to edmtype due to conflict with builtin.