improved support for header methods