add inherit for Lua