Added support for setting default headers