Fixed missing documentation, improved code coverage