Add more cleanup methods to Final Section directive.