Make BodyNode::setDependDofList() as protected function