Added initial pending state.
Merge branch 'test' into dev