how do i extract the names from a simple function?,"['foo.bar', 'foo.baz']"