Add resolve for firebase.