Moves helper methods into the core.