Add automemory option.