Removed unused ref_count from cipher context.