Added a more explaining warning about why the state variables are manually handled.