Cleanup and function header comments in compositor.