Not sure if this is actually needed, but this allows actual executing function to be in clean environment