Removed needles code in provideHeaders method.