Fixed failing Travis build due to changes introduced by #171 (although tests passed locally).