add ::setHeaders command