Adds documentation to Registry::State.