Vars: Add new attach method for bool types too.
Vars: Add new attach method for bool types too.

stevenlovegrove/Pangolin,arpg/Pangolin,janjachnik/Pangolin,tschmidt23/Pangolin,janjachnik/Pangolin,visigoth/Pangolin,tschmidt23/Pangolin,pinglin/Pangolin,renzodenardi/Pangolin,visigoth/Pangolin,stevenlovegrove/Pangolin,tschmidt23/Pangolin,mp3guy/Pangolin,stevenlovegrove/Pangolin,pinglin/Pangolin,mp3guy/Pangolin,randi120/Pangolin,arpg/Pangolin,wxdzju/Pangolin,mp3guy/Pangolin,randi120/Pangolin,wxdzju/Pangolin,renzodenardi/Pangolin