That's a very good question.  Code was copied from the original removed in #101 and presumably was done intentionally.

However code will fail if subclasses of CustomMarker are used, so I will replace it.