Removed the type field from all rest messages.