Fixed bug in previous hack.
Removed some out-commented lines from the prototype version.
Assured the recently reintroduced Entity class properly initialize itself in the code host runtime once its .NET type is loaded.