Added check that only optionally defines a sublump class.