Added member initialization of npc in contructor.