Fixing getTemplate issue, at least for now. Fixing .equal? predicate.