Split from utils.