Move base to utils.