Replace various Leaflet extensions with new builtin methods