Added support for completing quests