Remove unused SourceState type
Adds a bit of documentation to Context