added clear and get methods for Npis to Parameters. clearing Npis on data set change.