More functional style.