document.add now is a no-op if the obj is already in the plotcontext