Remove unused variable
Update EResult names.