PBD: Complete model and UI.