Added removeRegularNodes.