Rewrote entity.