Removed BaseNode class. Now uses std::tuple to handle this instead.