Removing defunct primary operations