For efficiency: func_path() returns ~str instead of cloning a vector like mod_path. Encapsulates more client logic so contexts are guaranteed to match too => safer.