unique_ptr in Effect too now