Previous commit mistake. Refactored addVectorLayer in MapServ