minor syntax changes, alias header? to has_header? on Document