Added ability to spawn markers.