Removing references to jlock.