Add missing SG_{BEGIN,END}_DECL.