Updated function header docs to match how we document passing in a callback as a param.