Migrate odl-javassist-3 to template