This should be named `registerServer` for consistency with `getServer`.