remove unused imports
Make srcgraph buffers read-only