Added texture loading.