Firebase adaptation cont.