Code cleanup.
Moved action details to PlanAction.
Code cleanup.