Reworking specialised set implementations to use ImmutableSet interface.
Cleaning up {Map,Set}Writer.
Clean-up imports.