cleanup
Added weak support for JESynthesize