Excerpted MOAILuaRef, MOAILuaWeakRef, and MOAILuaStrongRef.