Implement UserInterface methods.