Collapse some lines of code.