Remove unused bundle and codes