Updated Denoiser class