Persistance of method ASTs.

Review by @xeno-by
Merge pull request #3 from vjovanov/cross-compilation

Persistance of method ASTs.