Also record aliases as dependencies