Fixes last commit breaking build. Overzealous find/replace in an unused function - deleting unused function