extending activate/deactivate extension methods to take optional options
fix whitespace to be consistent with project
cleanup.
added star import for replication package.