verify Fixed the 'type' argument implementation