Document resource manager.