Added 0 functionality and fixed some simplification problems in Add.