Add custom header support to get function