Cleaner type hinting on interface