Changed return type of ExecuteFunction.