Added nub and nubBy. Closes #11