Combine if statements.