adding setter and getter pnexpires for backwards compatibility