Added classes for pwm which may be useful