Fix function that was renamed for Golint.