Cleaned up this we won't be using.
Replaced luaL_error with wax_error.