Add typing method _getName to the slide data object.