Make DocumentReference non-final