Refactoring. UI. Reachability handling.