Adds 'zindex' field to record model.