Added getNPCs() method.