Add getName and toStirng to content mapping.