Reduce indentation by early exiting.