stripBadInterfaces now a transform