Pass in entity.