Created a common Entity abstract superclass.