Add setExtraData to Entity