refactor IGenericsSerializable to IBinarySerializable