Added debug output for property replacements