Changes to the model, pdf and views