Remove getTtl(). Closes #1262