Add getStorageValue for task internal use