Add registration cancellation functionality.