Added the ability to filter objects based on a given property.