Initialize plan.