A method of treating the spine of a patient involves inserting anchors into vertebrae and connecting the anchors to a longitudinal member via housings. After insertion of the anchors, the housings containing a longitudinal member are positioned over the anchors and fastened.