Dispenser and DispenerType classses ported