Adding marker creation functionality.