Phase description handling was changed according to Tim Kientzle's suggestions.