Made some progress with hooking pseudo-object lua functions