Support batch requests in models