Code formatting; Reduce if statements.