Removing duplicate method in `ui_view_wrapper.rb`