Remove deprecated call from HeaderTransformer