Converting more kernel methods to the new style.