Fixes documentation problems suggested by Scrutinizer-ci