Another instance where the code review tool is broken :)

I still don't see any obvious benefits of putting flag definition into `init()`. I'll do more research later to figure out what the restrictions in `init()` are. Previously I tend to avoid `init()` because its behavior is quite different than other functions. 

Do you think the way I do flag parsing now is OK?