Docs. Code refactoring.