typing: remove useless error on null receiver. `get_method` already do it.