Fixed the interface of Map#trace