Extract core parsing to static method