Fixed StateManager not being read in by visual studio