User interface code now split into data/parameters, posterior takes const/nonconst handles.