Make Bag s also an instance of Applicative and Functor to suppress warning.