Smarter lazy loading.