Removing useless methods