Support checking callable objects in type hinting.