Saving functions, determining active expressions