Disabled the deprecated warning in a lua file