Implemented UI elements.