Various push notification fixes.