Added maxfetch feature.