Corrected resource initialization for collection