Removed deprecated assert statements.