Makes header retrieval be typed