Localization of contract duration. Partially addresses #59