Remove IdentityrefCodecImpl and rename ObjectCodec