Added NPC support to levels