Remove toCache and getTtl support. Closes #56