Make anomaly to use weight_manager. (#309)