Remove unused Plan#parse.
Add support for reusing compilation results.