Removing unused methods.