Ideally parsing the draw mode could be in a helper.