Minor nitpick: can you put the protocol lines in each keystone_register first (before the host), and not last? This is more logical (protocol, host, port).