Adding bothprop detection to impl cache cleaning