Add code to skip unused operations.