Finished updating apis.
Fixed block-based schedule checking.
Fixed a small bug.