Added an option to specify a document background color.