Fixed RModel inheritance approach