Add namespace importing to AbstractDocument