Add methods for adding margins.