Added engine.addCompil method and the initialize function