Use override method when Firebase is attached to window