Functions for G.Controls