Remove unused function in Rakefile