Dynamic invocation could be replaced with a constructor invocation.