Many places in the code do a Repository.open() and forget to close the session.
The means that DocumentManagerBeans are leaked, something we have no way to detect in code.
In order to combat that, we should promote the use of the existing session, by adding a DocumentModel.getCoreSession() method, and making use of UnrestrictedSessionRunner otherwise.