Refactor DSL methods in Result class