Adding defaults  for parameters to switch clauses in case they are empty in runtime configuration.