Added codec interface.