Removed publish from getDocuments (should be solved with methods inside Document)