Add metadata to plan.