Add attr_{get,set,on,off} as static inlines.