Edited JFunctions.