Add support for setting headers