support more general args for besselj0 etcetera (for #4172)