Add missing implementation for UIHelpers.