make class extern