These phonetic characters are called okurigana. They are used even when the inflection of the stem can be determined by a following inflectional suffix, so the primary function of okurigana for many kanji is that of a phonetic complement.