Works with SimpleFunction!