Is the conditional necessary? Seems like a minor optimization.