Change parameterType function to const Map