Remove export all

This is #6945 reopened against master.