remove types and empty arg lists