Export uniqueOrBasic for convenience.