Fix pex hook. Add in Pex methods.