remove types for spec