Adding an executor class.