Refactoring. Add blank lines after classes and edit @throws in some phpdocs.