Remove code generating deprecation warnings

* 'write_attribute' deprecation warnings being generated
  in #cache_person_name. This is not a clean fix, but it removes
  the warnings...