Added support for accessing certain objects across threads. (Experimental.)