Rough implementations of schema::Codec