add support for hinting self