Using new constructor and accessor methods on Result.  Code reformatting.