Since most of the code for these two nodes was identical, this commit now instead uses a common base class that implements all the functionality.
Since most of the code for these two nodes was identical, this commit now instead uses a common base class that implements all the functionality.