Minor refactoring.
Set attributes in StateMethod to correct values.
Added missing classes + ensure state projection methods ends with State.
Fixed compilation error.
Refactored how state methods are generated, partial commit.
Added expanded attributes to the list of state methods, partial commit.