R: new classes