Last minute changes to functions.