Graded modules over classical simple Lie algebras with a grading