Added getAll method