Refactored pull core into a helper class to allow specialization later