Add cython interface for the parser.