Fix bug related to custom header implementation.
Tag 1.0.1