Implement support for plan levels.

Fixed PlanMap classname.
Update build.