Remove Additive instance for Measure.
Remove unnessessary HasLinearMap constraints and add HasBasis class.