REP-729 Add Header Filter

is there a better way to do this than all these methods. it's a bit excessive