Documentation, refactoring.