Refactor error messages and add builtin command outline