Implement headers mapping