Added pp1_set_ui function.