Remove unusued 'total' functions.