Added Functor instances for RunM and AR.