change: variable name 'expires' has been renamed to 'ttl'.