Support .as[X] on non-hlist codecs