Removes unused code to replace leading dot in attributes