Fixing an issue with referencing the Result class