Mature characters are now being written with depth, dealing with career, sexuality, profound loss, and reinvention, rather than just serving as a supporting role to a younger protagonist.