add pw type support for medusa and hydra processing