Utils for the YASGUI libs