Fix references to sections etc.