document.hpp: make the anchor() method private; it is an implementation detail/helper