Move hacking functions to at_base.hack.inc