Helper function for push registration

Can't hurt I guess :-)