remove the need to keep track of which classes have already had their traits extended