Implement the ui-object