Fixed invalid return status codes.