Extends previous changes to saving as well as deleting. Fixes getLevel.