Added register support to cheat codes.