Add selector methods for searching by attributes/values, first objects and last objects.