More elegant check for ':'.