Adds RPN support for maths plugin