Removed bcf_hdr_add_sample(..,NULL) calls as they are not needed anymore