Fixed missing default SessionIDFactory initialization and added missing
file headers.