Compiler: Prevent duplicate compilation. (#760)
Added singleton property.