Added 'run' method to replace passing in a callback to add stub.