Make `attach_to` omnipotent and upgrade to the latest Vala syntax