Adding rest classes