Add basics functions like fitBounds and markers management.