Improved documentation and some code logic