Rename class in add-inline hook