Reserved plugin property names

Fixup $classname assignment and fail with an exception when reassigning
property names reserved for plugins.