Fix ref from docs to code