Written by Tablewide for its Docmost CE build. Not Docmost Enterprise code.
