Adding registration endpoint.