Updated copy of utils.