Compiler: Prevent duplicate compilation. (#760)
Added singleton property.
Merge pull request #817 from am11/master

Compiler: Prevent duplicate compilation. (#760)