Changed Document to weak location