Added some missing function instances.

Don't know how we went so long without these, but I needed them today and they weren't in the prelude.