Add an optional compilationOnly flag to the API for compiled languages. Does NOT break backward compatibility.