Added action to remove singleton nodes.