deprecate mapper_name and more pythonic repr