Added separate lookup_path() and lookup() methods