Added activation functionality.