Renamed DefaultStateThreshold to StateThreshold (#91)