Adds Margin methods.

The Margin struct is not wrapped at present.