For Interest and Data, use getName() instead of .name (deprecated).