Improved unsafe ops and added set tests.