Slightly changed exit interface.
Removed Id from Entity and Environment.