Creating and documenting UnlockGateway#register