Took function bodies out of class declaration for node<>