ml-class init