Merged if statements.