Fix bug. Do not generate static fields as columns.