Step six: remove depedency on UserInterface.