I'm trying to implement the upload example but there's a function missing called getReference. Any ideas where that function can be found?