Implemented embedding objects from window into global scope.