Implicit resolution of Codec instances