Support different type of markers