Added support for 'MATH' scope functions