Remove deprecated warnings, and move core helpers to frontend.
Move the base helpers back to core as several are used in backend.