add MarkableElement as a base class for elements that can have markers.