Add filter() to facilitate passing the db object to a 3rd part for
manipulation