Add registry to the session