Implement Document's 'body' attribute v2

Fixed issues pointed out by jdm, Ms2ger and jgraham.