Remove unnecessary setup and teardown.