Refactor resolve method into host.