Added some helper methods to Document