Added additional attributes for headers and footers and also for page sizing.