Compile notes cleanup