Add/improve docstrings for assertions.