Documentation update. Removed debug hooks.