Removed a couple of old unused functions.