Docs and example for Cluster.register_user_type