Added Entity class.