Added check for z.mix because it's a major pitfall.