Use assert for peel target type check