Getting UI callbacks working.