Added support for using an Objective-C block to calculate plot values in the function datasource class.