Implement the canGen stuff for attributes.
Implement the canGen stuff for attributes.

DmitryOlshansky/SDC,SDC-Developers/SDC,JohanEngelen/SDC,bpr/SDC,bpr/SDC,DmitryOlshansky/SDC,bpr/SDC,UplinkCoder/SDC,SDC-Developers/SDC,schancel/SDC,sidmutha/SDC,sidmutha/SDC,deadalnix/SDC,sidmutha/SDC,deadalnix/SDC,carlor/SDC,schancel/SDC,JohanEngelen/SDC,UplinkCoder/SDC,SDC-Developers/SDC,UplinkCoder/SDC,schancel/SDC,DmitryOlshansky/SDC,JohanEngelen/SDC,deadalnix/SDC