Removed unused public method 'array_to_function'.