Added basic entity class.