Add example for flags package.