Made addin compilable.