target maybe an array, collection, or just an entity object.