Implement ping and push hook.