Removing unused methods from lists.h