Removed mutable "header" parameter and replaced it with None. Modified c...

...lass definition to set empty header to {} unless provided.