Adds getAll method (Credit to Alexey for the name)