Add support for math in quests.