Made meta joins generic