Removed  old unused methods.