add: getExtraCache & getExtraDatabase for NpFactory