Add a hook for client registration