Endoscopic procedures on the spine