Add Z level.

There's some magic numbers about which might need slaying.