Fixing compilation issue with state.h
Merge remote-tracking branch 'origin/master'