Fixes Planning Element specs.

This removes Planning Element Types in Planning Elements as well as in
specs, and fixes a local variable warning.