Tested most operations, added two convenience functions.