Add compass support