Refactor warcraft/io/reflect