added leaflet; simple extension support