this is a simpler way to do native functions. it should be safe because the environment still cannot call python functions that aren't explicitly enabled or write them anywhere they're not supposed to be.