Implementing auto-reload.