Added default NULL value for the APNS registration function.