Wrap bodies and worlds in records to prevent garbage collection of important objects