Added set methods to Entity