Flattened unnecessary control nesting.