More work on replacing base type ui calls with bindings.