Changed the name of the LeakageProfile into LeakageFunction.