Added DensityProfiles and Detector classes.