Fix isinstance signature