Make ObjectCodec require impl of Versioned