Changed 'ALL_BLOCKS' identifier to 'ALL_MATERIALS'