Clearing legacy code to make place for the three.js exporter