Allow customizaton of render and renderItem