Removing an unnecessary method