Fix mispelled addheaders method