Only treaty extension initialized ef_type and uid properly. None of them zeroed unused members and holes in the struct. comm and trade extension called ef_extend(), which had no effect, so remove that.