Added category loading.