Remove deprecated getTemplates() arg tllimit

Also replace last usage of the deprecated method.

Change-Id: Ic939a3d321c3b71a387f5876ca0b3e0e294dfb01
Merge "Remove deprecated getTemplates() arg tllimit"