Add activation hook to new class file.