Add support for Compass

(I guess by merging #129 first this PR will automatically update)