Removed legacy appointment code