Adds unset function, tests, docs.