Class files primarily for R