Implement and add a test for TTL and TYPE