Reduce the number of mandatory arguments for create_runner_codeobj