Added sql to populate major class features