This is only a pointed set, not a group, unless X is itself a topological group; the distinguished point is the class of the trivial map, sending S0 to the base point of X.
This is only a subset, not a whole group unless X is a topological group; the special element is the trivial map that sends S0 to the base point of X.