Remove locations from types.