Refactored the Result structure.