Returning error codes.