Setup data for render.