Moved genActions into utilities.