Adding custom header functionality.