Removed the assert statement from the docs