Auto-deposited coatings