Removed unwanted methods from "IdlePromise" stub class