Move to utils.