documents loader interface update