Use List's headOption to increase readability.