Significantly speed up Synapse interaction - now query database only without DICOM file retrieval.