Added sum to the compiler.