Added activity loading.