Adding classmap bug