Add support for calling Prolog module meta-predicates that take closures as meta-arguments