Starting to port internal structure to support linearly-transformed quantities.