Firebase delegation example.