Common APIs for use by backwards compatibility codecs.