Add assert variants.
Fix WritableIterator() for pointer types.