Rewrote mpc parser from scratch.