Fixes for using hidden nodes.