Looks like I hadn't initialized the Spell table; whoops.