Added marker functionality.