Removed unused functions in mapserver