Get rid of an unnecessarily nested code block.