Fix remoting types for related models