Enabled access to the Npartitions function