Added executeWith method.