Added to and from canonical convertion