Working on adding error codes.