Defined gpf.attribute

Put in common gpf.interface and gpf.attribute to be generated by
gpf._genDefHandler