Check on type rather than method exist