Related to https://github.com/tidyverse/dplyr/issues/3923 dplyr functions are blowing away attributes again. A workaround for a class indexer that restores the units is suggested in the linked issue.