Use def instead of deprecated defaultPP