Create DatastoreFunctions