Improved codec behaviors.