Fixed EntityRef.NULL to not expose the NullEntityRef implementation.
Fixed a direct use of the EntityInfoComponent in the core module.