Add const qualifiers for isBitcodeWrapper, and add new functions