Implementing run().