Refine the use case for codecs API