Added slicing by units. Tests to follow.