Mark generator functions with an appropriate nodeflag.