Cleaned up AMD factory.