Added SafeAdd and SafeSubtract extensions.