Dropped code duplication for list functor.