Docblock changes, scoping changes and added a test for IterableWriter (since it didn't have one before)