Add methods to the Marker class