Update notes for submitted changes

* Tidy register-endpoint code.