Consistency: errors can be of any type everywhere
Add more methods
Merge pull request #1540 from thSoft/patch-1

Follow Firebase API changes