Small optimization and reduce line count.