Remove $name from all defined types