Sorry I misunderstood you. Here it is possible but there were some cases where it was required to store the original object (Entity, etc.) and therefore I have abandoned approach you suggest. But again here it would be possible.