Made small changes to Grade model class.