Reordered sections for better reading.