Note to self: do it this way for push notifications as well.