Removing unused functions.