Fix intersect and encapsulate functions.
Add GameObject.require<_>.
Edit null check function.
Add common null check functions.