Remove headers and query methods.