Don't generate columns if they are not needed