objfun: Add equality support.