Rename object to classes