Made getAll deferred