Switch _function_path to just return function_path

Better handling of deprecated function to ensure backwards compatibility.