Correctly use key parameter in new list set and get methods
Add ERROR constant