Add Applicative instance.