convert to new style class, from classic.