Remove dead code
Remove unused ResultFactory