Automatic weights loading.