Refactor BinarySerializer to add(Field f, SerializedType st)