Tweaked syntax to reduce indentation.