Updated GpPwm class.