rename viewClass to objectClass