Remove _from_dim_data and its tests.

Closes issue #279.