Ward identities and some clues to the renormalization of gauge-invariant operators