A couple fixes

Derive Applicative instance to fix warning in GHC 7.8. Fix spelling in documentation.