Override Document.fromSnapshot().