Use these methods to configure statecharts.