Add the missing comments
Rewrite status codes docs
Refactor the helpers