Fix missing import for activate command.