Iterator classes changed to on-demand loading.

This change can avoid to load unused classes. To parse costs more than to execute.