Resolving warnings in LeafletMap extensions.