Simplified setHeader() method and added setHeaders() one