Slight Correction to Entity

Changed from interface to class.