Fix warnings in documentation