extending activate/deactivate extension methods to take optional options