Better in-memory parsing