Deleted unused functions