Hook based generators.