Implements the pan type system.