Support different aliases for parent function in paths