some documents.
change the returned values of all method to be ($status, $res) pair.