Only wrap translated code in function if explicitly requested with options.