Removed duplicate/incorrect get_all_nodes method