Fixed warnings when building the documentation.