Removed old functions, added PartialEq and PartialOrd for Scm