Remove deprecated functions that don't work anymore from lua_api.txt