More doc and changes to pp