Improved doc and some tools.