Clarified error handling
Added some semantics for each command