Remove mutable constructors for events and commands. Formatting. Fixed a missing immutable.