Export sumabs and sumabs2

Fixes #7032