Added some temporary debugging output.
Fixed bug in EntityContext, reverse interface map was not filled correctly.