Added DelegatesTo for closures and updated for IJ 14