Rename func to be more similar to code elsewhere.