Added Entity abstract class.