Configure arithmetic functions by both name and arity - resolves  #35