Add offset method to Offset module.