Remove deprecated functions and structures on next version bump.