Replace parameter types with 'dynamic'