convert named args into types