PR comment to refactor ResultObject constructor with a static method