Enhance the interface of MicroTask. Complete apis.