Added cast operations and cmp