Documentation & refactoring.