[MIN] Refactoring, move setHostInfo to parent class.