Switched to positive result codes for better compatibility.