Initial refactor file in soft/hard dichtomy.