Refactor `activate`