Remove unused (large) geometry functions