Add a separate post type for methods

I think I caught everything, but this could probably use some testing.

See #46