Adding support for finding objects based on non-id fields.