add codecRegistry