API::Documents is now an enumerable