Your still need to inherit the eclass. Otherwise the phase function is not available.