Remove assertion messages to please pydoc
Fix typo