make document boxes an optional feature