Rewrite this to be a guard clause.