Add support for getName(Console), can be configurable