Setting up interface.