Updated to initialize with effect's contents