move magic from documentation to papyrus