Move most of shared_helpers into phantom_helpers