enable static document handling