Added builder for the LeakageFunction