Added functor instances for underlying representation types to make taking Jacobians using ad easier.