Added texture support.