Create query methods for all and by name
Modify GetByName into GetByAttribute