This is really important other wise method lookup will yield wrong code